package com.osgc.rf.np.url.util.base;

import java.util.HashMap;
import java.util.Map;

public class ParamList {
	public Map<String, String[]> params;

	public ParamList() {
		params = new HashMap<String, String[]>();
	}

	public void add(String key, String[] value) {
		params.put(key, value);
	}

	public String get(String key) {
		if(params.get(key)==null)return null;
		return params.get(key)[0];
	}

	public String[] getArray(String key) {
		return params.get(key);
	}
}
